import quotationRecordApi from '@/api/quotation/QuotationRecordApi.js'
import productApi from '@/api/project/ProductApi.js'

export default {
    name: "quotationRecordDetail",
    data () {
        return {
            quotationId:'',
            quotationDetailData:{},
            quotationDetailTableData:[]
        }
    },
    methods: {
        page(){
            quotationRecordApi.getInfo({id:this.quotationId}).then(res => {
                this.quotationDetailData = res.data
                this.quotationDetailTableData = res.data.details
            })
        }
   
    },
    mounted () {
       this.page()
    },
    created() {
        let {id, action} = this.$route.params
        this.quotationId = id
    }
}
